package com.shp.pojo;

/**
 * Description:
 * 记录最新动态
 * @author zwl
 * @version 1.0
 * @date 2020/3/19 21:09
 */
public class NewsSize {
    /**
     * 注册者数量
     */
    private Integer registerNum;
    /**
     * 订单数量
     */
    private Integer ordersNum;
    /**
     * 评论数量
     */
    private Integer commentNum;
    /**
     * 游客数量·
     */
    private Integer visitorNum;
    /**
     * 在线数量
     */
    private Integer onlineNum;

    public NewsSize() {
    }

    public NewsSize(Integer registerNum, Integer ordersNum, Integer commentNum, Integer visitorNum, Integer onlineNum) {
        this.registerNum = registerNum;
        this.ordersNum = ordersNum;
        this.commentNum = commentNum;
        this.visitorNum = visitorNum;
        this.onlineNum = onlineNum;
    }

    @Override
    public String toString() {
        return "NewsSize{" +
                "registerNum=" + registerNum +
                ", ordersNum=" + ordersNum +
                ", commentNum=" + commentNum +
                ", visitorNum=" + visitorNum +
                ", onlineNum=" + onlineNum +
                '}';
    }

    public Integer getRegisterNum() {
        return registerNum;
    }

    public void setRegisterNum(Integer registerNum) {
        this.registerNum = registerNum;
    }

    public Integer getOrdersNum() {
        return ordersNum;
    }

    public void setOrdersNum(Integer ordersNum) {
        this.ordersNum = ordersNum;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getVisitorNum() {
        return visitorNum;
    }

    public void setVisitorNum(Integer visitorNum) {
        this.visitorNum = visitorNum;
    }

    public Integer getOnlineNum() {
        return onlineNum;
    }

    public void setOnlineNum(Integer onlineNum) {
        this.onlineNum = onlineNum;
    }
}
